# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Kevin <kevin@archlinux.org>
# Contributor: Firmicus <francois.archlinux.org> 

pkgname=perl-test-pod
pkgver=1.51
pkgrel=3
pkgdesc="Check for POD errors in files"
arch=('any')
url="http://search.cpan.org/dist/Test-Pod/"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-${pkgver}.tar.gz)
md5sums=('f806aa84de2f0c0fba48b3a5a8a4aecf')

build() {
  cd Test-Pod-${pkgver}
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd Test-Pod-${pkgver}
  make test
}

package() {
  cd Test-Pod-${pkgver}
  make DESTDIR="${pkgdir}" install
}
